
<?
include "lib/classes.php";
@session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include "includes/headers-conteudo.php"; ?>
<body>


<!--COMECAO DO TOPO-->
<?php include "includes/header.php"; ?>
<!--FIMZAO DO TOPO-->
<style type="text/css">
#menugeral{
width:100%;
padding:3px;
border:solid 1px #000000;
}

.menu{
background-image:url(images/etapa-inativa.jpg);
background-repeat:no-repeat;
background-position:center;
width:180px;
height:31px;
float:left;
padding-top:15px;
margin-left:5px;
}

.menu_select{
background-image:url(images/etapa-ativa.jpg);
background-repeat:no-repeat;
background-position:center;
width:180px;
height:31px;
float:left;
padding-top:15px;
margin-left:5px;
}


#itens {
border-bottom: solid 1px #999; 
height:38px
}
#itens div{
float:left;
}

#itens a{
	width:180px;
	margin:0px auto;
	padding-top:5px;
	text-align:center;
	font-size:16px;
	font-weight:bold;
	color:#444
	
}


.conteudo{
width:100%;
}
</style>


<div id="central">



<!--FIM DIV QUE SEPARA O MENU-->


<?php include "includes/busca.php"; ?>


  <div class="gh-clr"></div>

<!--MENU ESPACAMENTO-->
<div style="clear:both">&nbsp;</div>
<!--MENU ESPACAMENTO-->

<div id="barra-painel">
<div id="central">
<style type="text/css">
#menugeral{
width:100%;
padding:3px;
border:solid 1px #000000;
}

.menu{
background-image:url(images/etapa-inativa.jpg);
background-repeat:no-repeat;
background-position:center;
width:180px;
height:31px;
float:left;
padding-top:15px;
margin-left:5px;
}

.menu_select{
background-image:url(images/etapa-ativa.jpg);
background-repeat:no-repeat;
background-position:center;
width:180px;
height:31px;
float:left;
padding-top:15px;
margin-left:5px;
}


#itens {
border-bottom: solid 1px #999; 
height:38px;
width:990px;
}
#itens div{
float:left;
}

#itens a{
	width:180px;
	margin:0px auto;
	padding-top:5px;
	text-align:center;
	font-size:16px;
	font-weight:bold;
	color:#444
	
}


.conteudo{
width:100%;
}
</style>

<h1>Cadastro do an&uacute;ncio</h1>


<script type="text/javascript">
function aba(abasim,abanao,abanao2,abanao3){

d("aba_menu_" +abasim).style.display='';
d("aba_"+abasim).className='menu_select';

d("aba_menu_"+abanao).style.display='none';
d("aba_"+abanao).className='menu';

d("aba_menu_"+abanao2).style.display='none';
d("aba_"+abanao2).className='menu';

d("aba_menu_"+abanao3).style.display='none';
d("aba_"+abanao3).className='menu';



}
</script>

<div id="itens">

<div align="center" <? if($_GET["etapa"]== 1 || !isset($_GET["etapa"]) ){ echo 'class="menu_select"';}else{ echo 'class="menu"'; } ?> id="aba_1" >
Selecione a categoria

</div>

<div align="center" <? if($_GET["etapa"]== 2){ echo 'class="menu_select"';}else{ echo 'class="menu"'; } ?> id="aba_2">
Dados do produto
</div>

<div align="center" <? if($_GET["etapa"]== 3){ echo 'class="menu_select"';}else{ echo 'class="menu"'; } ?> id="aba_3">
Dados do anunciante
</div>

<div align="center" <? if($_GET["etapa"]== 4){ echo 'class="menu_select"';}else{ echo 'class="menu"'; } ?> id="aba_4">
Revendo o an&uacute;ncio
</div>


</div>

<div style="clear:both">&nbsp;</div>

<div id="aba_menu_1" <? if($_GET["etapa"]== 1 || !isset($_GET["etapa"])){ echo '';}else{  echo 'style="display:none"'; } ?> >
<?php include "modulos/anuncios/categorias.php";?>
</div>

<div id="aba_menu_2" <? if($_GET["etapa"]== 2){ echo '';}else{  echo 'style="display:none"'; } ?>>
<?php include "modulos/anuncios/categorias-etapa-2.php";?>
</div>

<div id="aba_menu_3" <? if($_GET["etapa"]== 3){ echo '';}else{  echo 'style="display:none"'; } ?>>
<?php include "modulos/anuncios/categorias-etapa-3.php";?>
</div>

<div id="aba_menu_4" <? if($_GET["etapa"]== 4){ echo '';}else{  echo 'style="display:none"'; } ?>>
<?php include "modulos/anuncios/categorias-etapa-4.php";?>
</div>


</div>




</div></div>

 </div>



<?php include "includes/rodape.php"; ?>




</body>
</html>
